package com.symone.webcms.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "PermissionVO",description = "权限对象")
public class PermissionVO implements Serializable {
    /**
     * Shiro Code
     */
    @ApiModelProperty("权限Code")
    private String code;

    /**
     * URL
     */
    @ApiModelProperty("URL")
    private String url;

    public PermissionVO(String code,String url){
        this.code = code;
        this.url = url;
    }
}
